package com.v9.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.v9.common.core.domain.AbstractLongEntity;
import lombok.Data;

/**
 * 应用发布版本管理
 * @author lei.tian
 * @date 2022/6/14
 *
 */
@Data
@TableName(value = "sys_application_release",common = "应用")
public class ApplicationRelease extends AbstractLongEntity {

    @TableField(common = "应用ID",nullable = false)
    private Long applicationId;

    @TableField(common =  "版本号",nullable = false)
    private String versionNumber;

    @TableField(common = "更新内容",length = 256)
    private String updateContent;

    @TableField(common =  "下载地址",length = 1024,nullable = false)
    private String downloadLink;

    @TableField(common = "是否为当前启用版本",nullable = false)
    private Boolean currentVersion;

    @TableField(common = "是否强制更新",nullable = false)
    private Boolean forceUpdate;
}
